package cn.org.mrliu.ssm.web.param;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import cn.org.mrliu.ssm.model.Department;

public class DepartmentSetParam implements Serializable{
	private static final long serialVersionUID = -4220712871670599580L;
	private Set<Department> departments = new HashSet<>();
	public DepartmentSetParam() {
		departments.add(new Department());
		departments.add(new Department());
		departments.add(new Department());
	}
	public Set<Department> getDepartments() {
		return departments;
	}
	public void setDepartments(Set<Department> departments) {
		this.departments = departments;
	}
	@Override
	public String toString() {
		return "DepartmentSetParam [departments=" + departments + "]";
	}
}
